import request from './request';
import getParams from '@/tools/getParams.js';

export const login = (params) => {
    const str = getParams(params)
    const url = `/login${str}`
    return request({
        url: url,
        method: 'post',
        data: {}
    })
}